// 目的地排行榜项目类型
export interface DestinationRanking {
  _id: string;
  name: string;
  description: string;
  image: string;
  reviewCount: number;
  views: number;
  votes: number;
  score: number;
}

// 游记排行榜项目类型
export interface PostRanking {
  id: number;
  title: string;
  summary: string;
  cover: string;
  location: string;
  author: {
    username: string;
  };
  viewCount: number;
  likeCount: number;
  commentCount: number;
  score: string;
}

// 用户排行榜项目类型
export interface UserRanking {
  id: number;
  username: string;
  bio: string;
  avatar: string;
  postCount: number;
  followerCount: number;
  totalLikes: number;
  score: number;
}

// 攻略排行榜项目类型
export interface StrategyRanking {
  id: number;
  title: string;
  summary: string;
  cover: string;
  author: {
    username: string;
  };
  rating: number;
  viewCount: number;
  collectCount: number;
  commentCount: number;
  score: number;
}

// 热门项目类型
export interface HotItem {
  id: number;
  title: string;
  viewCount: number;
}

// 统计数据类型
export interface TotalStats {
  destinations: number;
  posts: number;
  users: number;
  strategies: number;
}